#include <base_pti_parser.hpp>
Classes | |
struct | branch_relay_params |
struct | bus_relay_params |
struct | gen_params |
struct | load_params |
struct | uc_params |
Public Member Functions | |
BasePTIParser () | |
virtual | ~BasePTIParser () |
void | externalParse (const std::string &fileName) |
void | expandBusModels (void) |
void | changePhaseShiftSign () |
gridpack::parser::BasePTIParser< _network >::BasePTIParser | ( | ) | [explicit] |
Constructor
References gridpack::utility::CoarseTimer::instance().
virtual gridpack::parser::BasePTIParser< _network >::~BasePTIParser | ( | ) | [virtual] |
Destructor
void gridpack::parser::BasePTIParser< _network >::changePhaseShiftSign | ( | ) |
Change the sign of the BRANCH_SHIFT variable. The sign convention for this variable is not consistent across different files
References BRANCH_NUM_ELEMENTS, and BRANCH_SHIFT.
void gridpack::parser::BasePTIParser< _network >::expandBusModels | ( | void | ) |
Expand any compound bus models that may need to be generated based on parameters in the .dyr files. This function needs to be called after calling the parser for the .dyr file
References gridpack::component::DataCollection::addValue(), BRANCH_FROMBUS, BRANCH_TOBUS, BUS_NUMBER, gridpack::parser::Cmldblu1Parser< _data_struct >::expandModel(), gridpack::component::DataCollection::getValue(), LOAD_MODEL, LOAD_NUMBER, gridpack::factory::BaseFactory< _network >::setComponents(), and gridpack::component::DataCollection::setValue().
void gridpack::parser::BasePTIParser< _network >::externalParse | ( | const std::string & | fileName | ) |
Parse a second file after original network has been distributed. This requires the data in the second file to be distributed to all network objects that need the data
fileName | name of file |
References gridpack::parser::BasePTIParser< _network >::expandBusModels().